using System;
using System.Xml.Serialization;

namespace WHC.Hotel.Entity
{
    [Serializable]
    public class KTVGoodsInfo : BaseEntity
    {    
        #region Field Members

        private int m_ID = 0;         
        private string m_ItemNo = ""; //项目编码          
        private string m_Name = ""; //商品名称          
        private decimal m_Price = 0; //预设单价          
        private string m_GoodsType = ""; //项目类别          
        private bool m_Flag = false; //进货标记          
        private string m_UnitName = ""; //计价单位          
        private decimal m_UnitCost = 0; //单位成本          
        private int m_StockQuantity = 0; //库存数量          
        private int m_AlarmQuantity = 0; //报警库存          
        private string m_Note = ""; //备注    
        private double m_DuralDays = 0;//保质天数

        /// <summary>
        /// 保质天数
        /// </summary>
        public double DuralDays
        {
            get { return this.m_DuralDays; }
            set { this.m_DuralDays = value; }
        }

        #endregion

        #region Property Members
        
        public virtual int ID
        {
            get
            {
                return this.m_ID;
            }
            set
            {
                this.m_ID = value;
            }
        }

        /// <summary>
        /// 项目编码
        /// </summary>
        public virtual string ItemNo
        {
            get
            {
                return this.m_ItemNo;
            }
            set
            {
                this.m_ItemNo = value;
            }
        }

        /// <summary>
        /// 商品名称
        /// </summary>
        public virtual string Name
        {
            get
            {
                return this.m_Name;
            }
            set
            {
                this.m_Name = value;
            }
        }

        /// <summary>
        /// 预设单价
        /// </summary>
        public virtual decimal Price
        {
            get
            {
                return this.m_Price;
            }
            set
            {
                this.m_Price = value;
            }
        }

        /// <summary>
        /// 项目类别
        /// </summary>
        public virtual string GoodsType
        {
            get
            {
                return this.m_GoodsType;
            }
            set
            {
                this.m_GoodsType = value;
            }
        }

        /// <summary>
        /// 进货标记
        /// </summary>
        public virtual bool Flag
        {
            get
            {
                return this.m_Flag;
            }
            set
            {
                this.m_Flag = value;
            }
        }

        /// <summary>
        /// 计价单位
        /// </summary>
        public virtual string UnitName
        {
            get
            {
                return this.m_UnitName;
            }
            set
            {
                this.m_UnitName = value;
            }
        }

        /// <summary>
        /// 单位成本
        /// </summary>
        public virtual decimal UnitCost
        {
            get
            {
                return this.m_UnitCost;
            }
            set
            {
                this.m_UnitCost = value;
            }
        }

        /// <summary>
        /// 库存数量
        /// </summary>
        public virtual int StockQuantity
        {
            get
            {
                return this.m_StockQuantity;
            }
            set
            {
                this.m_StockQuantity = value;
            }
        }

        /// <summary>
        /// 报警库存
        /// </summary>
        public virtual int AlarmQuantity
        {
            get
            {
                return this.m_AlarmQuantity;
            }
            set
            {
                this.m_AlarmQuantity = value;
            }
        }

        /// <summary>
        /// 备注
        /// </summary>
        public virtual string Note
        {
            get
            {
                return this.m_Note;
            }
            set
            {
                this.m_Note = value;
            }
        }


        #endregion

    }
}